<template>
  <!--结算管理 --- 订单结算-->
  <div class="orderSettlement module-index">
    <breadcrumb-title :title="title"/>
    <div class="orderSettlement module-body">
      <search-and-router-change :identity="identity"
                                :table-data="tableData"
                                :page-data="pagination"
                                :name="name"
                                :title="title"/>
    </div>
  </div>
</template>

<script>
import BreadcrumbTitle from "@/components/title/BreadcrumbTitle";
import SearchAndRouterChange from "@/views/menu/components/SearchAndRouterChange";

export default {
  name: "orderSettlement",
  components: {
    BreadcrumbTitle,
    SearchAndRouterChange,
  },
  props: {},
  data() {
    return {
      identity: '',
      name: '', // 组件名称
      title: '',
      pagination: {
        value1: '',
        value2: '',
        input: '',
        startTime: '',
        endTime: '',
        page: 0,
        pageSize: 0,
      },
      total: 0,

      active: 1,
      activeClass: 'active', // 选中的样式

      tableData: [
        {
          date: '2020-01-01',
          time: '10:10:10',
        },
        {
          date: '11111',
          time: '222',
        },
        {
          date: '11111',
          time: '222',
        },
      ],

    }
  },
  created() {
    this.init()
  },
  methods: {

    async init() {
      this.title = this.$route.meta.title
      this.name = this.$route.meta.name

      this.identity = localStorage.getItem("identity")
    }
  },
}
</script>

<style scoped lang="scss">


.orderSettlement {


  .orderSettlement {
    margin-top: 10px;


  }
}
</style>